<%=content_tag(:div, {:id=>"newGameForm"}) do%>
     <%=form_tag({},{:class=>"form-inline", :role=>"form"}) do %>
          <%=content_tag(:div, nil,{:class=>"form-group"})%>
               <table>
                    <tr>
                         <td><%=label_tag(nil,"Name of Game", {:for=>"name"}) %></td>
                         <td><%=text_field_tag("name", nil, {:required=>true, :id=>"name", :style=>"width:200px;", :placeholder=>"Game Name"})%></td>
                    </tr>
                    <tr>
                         <td><%=label_tag(nil,"Starting Cash ($)", {:for=>"startingmoney"}) %></td>
                         <td><%=number_field_tag("startingmoney", nil, {:required=>true, :min=>0, :id=>"startingmoney", :style=>"width:200px;", :placeholder=>0, :class=>"currency"})%></td>
                    </tr>
                    <tr>
                         <td><%=label_tag(nil,"Game Length (Days)", {:for=>"gamelength"}) %></td>
                         <td><%=number_field_tag("gamelength", nil, {:required=>true, :min=>0, :max=>100, :id=>"gamelength", :style=>"width:200px;", :placeholder=>0, :class=>"days"})%></td>
                    </tr>
                    <tr>
                         <td><%=label_tag(nil,"Game Start", {:for=>"startTime"}) %></td>
                         <td><%=date_field_tag("startTime", nil, {:required=>true, :id=>"startTime", :style=>"width:200px;", :placeholder=>0})%></td>
                    </tr>
               </table>
               <hr />
               <h4>Invite Friends</h4>
               <table id="friendsToInvite">
                    <tr>
                         <td><%=text_field_tag("invite0",nil, {:required=>false})%></td>
                         <td><%=content_tag :div, "+",{:class=>"btn btn-primary",:id=>"addAdditionalFriendField"}%></td>
                    </tr>
               </table>
               <br>
               <%= submit_tag("Create", {:class=>"btn btn-primary"}) %>
               <%=link_to "Return to Dashboard", dash_url, {:class=>"btn btn-default"}%>
     <%end%>
<%end%>